﻿using System;
using UnityEngine;

// Token: 0x020002DA RID: 730
public class Layers : MonoBehaviour
{
	// Token: 0x060010FE RID: 4350 RVA: 0x0007D9B0 File Offset: 0x0007BBB0
	public static void Initialize()
	{
		if (Layers.initialized)
		{
			return;
		}
		string text = "Default";
		string text2 = "Map";
		string text3 = "GTSBody";
		string text4 = "Player";
		string text5 = "Micro";
		string text6 = "Object";
		string text7 = "Building";
		string text8 = "UI";
		string text9 = "Aux";
		string text10 = "GTSCapsule";
		string layerName = "Destroyer";
		string layerName2 = "Vehicles";
		string layerName3 = "Ignore Wheel Cast";
		string layerName4 = "Detachable Part";
		string layerName5 = "CloudProximity";
		Layers.defaultLayer = LayerMask.NameToLayer(text);
		Layers.mapLayer = LayerMask.NameToLayer(text2);
		Layers.gtsBodyLayer = LayerMask.NameToLayer(text3);
		Layers.playerLayer = LayerMask.NameToLayer(text4);
		Layers.microLayer = LayerMask.NameToLayer(text5);
		Layers.objectLayer = LayerMask.NameToLayer(text6);
		Layers.buildingLayer = LayerMask.NameToLayer(text7);
		Layers.uiLayer = LayerMask.NameToLayer(text8);
		Layers.gtsCapsuleLayer = LayerMask.NameToLayer(text10);
		Layers.auxLayer = LayerMask.NameToLayer(text9);
		Layers.destroyerLayer = LayerMask.NameToLayer(layerName);
		Layers.vehicelsLayer = LayerMask.NameToLayer(layerName2);
		Layers.ignoreWheelcastLayer = LayerMask.NameToLayer(layerName3);
		Layers.detachableLayer = LayerMask.NameToLayer(layerName4);
		Layers.cloudProximityLayer = LayerMask.NameToLayer(layerName5);
		Layers.mapMask = LayerMask.GetMask(new string[]
		{
			text2
		});
		Layers.gtsBodyMask = LayerMask.GetMask(new string[]
		{
			text3
		});
		Layers.gtsCapsuleMask = LayerMask.GetMask(new string[]
		{
			text10
		});
		Layers.buildingMask = LayerMask.GetMask(new string[]
		{
			text7
		});
		Layers.auxMask = LayerMask.GetMask(new string[]
		{
			text9
		});
		Layers.placementMask = LayerMask.GetMask(new string[]
		{
			text,
			text2,
			text3,
			text6
		});
		Layers.cameraCollisionMask = LayerMask.GetMask(new string[]
		{
			text,
			text2,
			text3,
			text6,
			text7
		});
		Layers.vehicleCameraCollisionMask = LayerMask.GetMask(new string[]
		{
			text,
			text2,
			text3,
			text7,
			text6
		});
		Layers.gtsCollisionCheckMask = LayerMask.GetMask(new string[]
		{
			text2,
			text6,
			text3,
			text
		});
		Layers.walkableMask = LayerMask.GetMask(new string[]
		{
			text,
			text2,
			text3,
			text6,
			text7
		});
		Layers.gtsWalkableMask = LayerMask.GetMask(new string[]
		{
			text2,
			text6,
			text
		});
		Layers.crushableMask = LayerMask.GetMask(new string[]
		{
			text4,
			text5
		});
		Layers.actionSelectionMask = LayerMask.GetMask(new string[]
		{
			text,
			text2,
			text3,
			text4,
			text5,
			text6,
			text7,
			text8
		});
		Layers.visibilityMask = LayerMask.GetMask(new string[]
		{
			text2,
			text6,
			text5,
			text4,
			text10,
			text7,
			text
		});
		Layers.pathfindingMask = LayerMask.GetMask(new string[]
		{
			text2,
			text6,
			text7,
			text
		});
		Layers.reflectionMask = LayerMask.GetMask(new string[]
		{
			text2,
			text,
			text4,
			text3,
			text7,
			text6
		});
		Layers.stompingMask = LayerMask.GetMask(new string[]
		{
			text2,
			text,
			text6
		});
		Layers.raygunAimMask = LayerMask.GetMask(new string[]
		{
			text5,
			text3,
			text6,
			text2
		});
		Layers.initialized = true;
	}

	// Token: 0x0400163B RID: 5691
	public static int defaultLayer;

	// Token: 0x0400163C RID: 5692
	public static int mapLayer;

	// Token: 0x0400163D RID: 5693
	public static int gtsBodyLayer;

	// Token: 0x0400163E RID: 5694
	public static int playerLayer;

	// Token: 0x0400163F RID: 5695
	public static int microLayer;

	// Token: 0x04001640 RID: 5696
	public static int objectLayer;

	// Token: 0x04001641 RID: 5697
	public static int buildingLayer;

	// Token: 0x04001642 RID: 5698
	public static int uiLayer;

	// Token: 0x04001643 RID: 5699
	public static int gtsCapsuleLayer;

	// Token: 0x04001644 RID: 5700
	public static int auxLayer;

	// Token: 0x04001645 RID: 5701
	public static int destroyerLayer;

	// Token: 0x04001646 RID: 5702
	public static int vehicelsLayer;

	// Token: 0x04001647 RID: 5703
	public static int ignoreWheelcastLayer;

	// Token: 0x04001648 RID: 5704
	public static int detachableLayer;

	// Token: 0x04001649 RID: 5705
	public static int cloudProximityLayer;

	// Token: 0x0400164A RID: 5706
	public static LayerMask mapMask;

	// Token: 0x0400164B RID: 5707
	public static LayerMask gtsBodyMask;

	// Token: 0x0400164C RID: 5708
	public static LayerMask gtsCapsuleMask;

	// Token: 0x0400164D RID: 5709
	public static LayerMask buildingMask;

	// Token: 0x0400164E RID: 5710
	public static LayerMask auxMask;

	// Token: 0x0400164F RID: 5711
	public static LayerMask placementMask;

	// Token: 0x04001650 RID: 5712
	public static LayerMask cameraCollisionMask;

	// Token: 0x04001651 RID: 5713
	public static LayerMask vehicleCameraCollisionMask;

	// Token: 0x04001652 RID: 5714
	public static LayerMask gtsCollisionCheckMask;

	// Token: 0x04001653 RID: 5715
	public static LayerMask walkableMask;

	// Token: 0x04001654 RID: 5716
	public static LayerMask crushableMask;

	// Token: 0x04001655 RID: 5717
	public static LayerMask gtsWalkableMask;

	// Token: 0x04001656 RID: 5718
	public static LayerMask actionSelectionMask;

	// Token: 0x04001657 RID: 5719
	public static LayerMask visibilityMask;

	// Token: 0x04001658 RID: 5720
	public static LayerMask pathfindingMask;

	// Token: 0x04001659 RID: 5721
	public static LayerMask reflectionMask;

	// Token: 0x0400165A RID: 5722
	public static LayerMask stompingMask;

	// Token: 0x0400165B RID: 5723
	public static LayerMask raygunAimMask;

	// Token: 0x0400165C RID: 5724
	private static bool initialized;
}
